<template>
  <div>
    <p v-for="(value, key) in data" :key="key">
      {{ key }}:{{ JSON.stringify(value) }}
    </p>
  </div>
</template>

<script>
import axios from "axios";
export default {
  data() {
    return {
      data: {},
    };
  },
  methods: {
    getData() {
      axios.get("/test").then((res) => {
        this.data = res.data;
      });
    },
  },
  created() {
    this.getData();
  },
};
</script>

<style>
</style>